Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCP-2739: Support watchNamespace allowing controller to watch objects in the specified namespace #16

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

jayesh-srivastava
Copy link
Member

Issue: We were seeing multiple CP nodes getting launched for a single node Microk8s MAAS cluster. This was happening because of the unavailability of watchNamespace in the control-plane-microk8s controller. Because of Palette's deployment where we have one controller pod per namespace, multiple reconcilers from different namespaces across a PCG were watching the objects across namespaces and creating machines.

Fix: We added the support for watchNamespace in the control-plane-microk8s controller which will restrict the controller to watch cluster-api objects in its namespace only when specified.

@sadysnaat sadysnaat merged commit afb916c into spectro-master Apr 2, 2024
2 of 3 checks passed
@jayesh-srivastava jayesh-srivastava deleted the PCP-2739 branch June 26, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants